﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/MasterPage/Principal.master" CodeBehind="GestionarDesglose.aspx.vb" Inherits="webNaviera.GestionarDesglose" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style2
        {
            width: 48px;
        }
        .style4
        {
            width: 90px;
        }
        .style5
        {
        }
        .style6
        {
            width: 50px;
        }
        .style7
        {
            height: 16px;
        }
        .style8
        {
            height: 16px;
        }
        .style9
        {
            width: 50px;
            height: 16px;
        }
        .style10
        {
            width: 90px;
            height: 16px;
        }
        .style12
        {
            height: 16px;
        }
        .style13
        {
            width: 200px;
            height: 16px;
        }
        .style14
        {
            height: 16px;
            width: 48px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

 &nbsp;&nbsp;&nbsp; <script>

     var ventana_secundaria;
     var ventana_secundaria2;

     function abrirVentana() {
         //guardo la referencia de la ventana para poder utilizarla luego 
         ventana_secundaria = window.showModalDialog("../page/popup/BusquedaViaje.aspx", "miventana", "dialogWidth:510;dialogheight:380;menubar=no")
         __doPostBack("MiFuncionViaje", "");
     }


     function abrirVentanaCons() {
         //guardo la referencia de la ventana para poder utilizarla luego 
         ventana_secundaria = window.showModalDialog("../PopUp/BuscarUsuarios.aspx?tipo=CON", "miventana", "dialogWidth:510;dialogheight:380;menubar=no")
         __doPostBack("MiFuncionPaquetes", "");
     }

  </script><p>


                        <table border="0" cellpadding="3" cellspacing="2" __designer:mapid="41c3">
                            <tr class="TRlist3" __designer:mapid="41c9">
                                <td __designer:mapid="41ca" class="style7" colspan="10" 
                                    style="background-color: #BFDBFF">
                                    <asp:Label ID="Label9" runat="server" style="font-weight: 700" 
                                        Text="Desglose BL Hijo" ForeColor="#000066"></asp:Label>
                                </td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="41c9">
                                <td __designer:mapid="41ca" class="style7" colspan="8">
                                    &nbsp;</td>
                                <td __designer:mapid="42bc" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="4300" class="style13">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="41c9">
                                <td __designer:mapid="41ca" style="color: #808080">
                                    Nave/Viaje:</td>
                                <td __designer:mapid="41cb" class="style14" style="color: #808080">
                                    <asp:Label ID="lblNaveViaje" runat="server" style="font-weight: 700" 
                                        ForeColor="#000066"></asp:Label>
                                </td>
                                <td __designer:mapid="41cb" class="style9" style="color: #808080">
                                      &nbsp;</td>
                                <td __designer:mapid="420f" class="style10" style="color: #808080">
                                      </td>
                                <td __designer:mapid="4210" class="style7" style="color: #808080">
                                    Consignatario:</td>
                                <td __designer:mapid="4276" class="style12" colspan="2" style="color: #808080">
                                    <asp:Label ID="lblConsignatario" runat="server" style="font-weight: 700" 
                                        ForeColor="#000066"></asp:Label>
                                </td>
                                <td __designer:mapid="42bb" class="style13">
                                </td>
                                <td __designer:mapid="42bc" class="style13">

                                </td>
                                <td __designer:mapid="4300" class="style13">
                                    </td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4301">
                                <td __designer:mapid="4302" class="style5" style="color: #808080">
                                    BL Master:</td>
                                <td class="style2" __designer:mapid="4303" style="color: #808080">
                                    <asp:Label ID="lblBLMaster" runat="server" style="font-weight: 700" 
                                        ForeColor="#000066"></asp:Label>
                                </td>
                                <td class="style6" __designer:mapid="4303" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style4" __designer:mapid="4347" style="color: #808080">
                                    &nbsp;</td>
                                <td __designer:mapid="4348" style="color: #808080;">
                                    Total Peso:</td>
                                <td __designer:mapid="43ae" style="color: #808080;">
                                    <asp:Label ID="lblTotalPeso" runat="server" style="font-weight: 700" 
                                        ForeColor="#000066"></asp:Label>
                                </td>
                                <td style="HEIGHT: 16px; width: 200px" __designer:mapid="43af">
                                    &nbsp;</td>
                                <td style="HEIGHT: 16px; width: 200px" __designer:mapid="43f3">
                                    &nbsp;</td>
                                <td style="HEIGHT: 16px; width: 200px" __designer:mapid="43f4">
                                    &nbsp;</td>
                                <td style="HEIGHT: 16px; width: 200px" __designer:mapid="4438">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4301">
                                <td __designer:mapid="4302" class="style5" style="color: #808080">
                                    Total BL HIjos:</td>
                                <td class="style2" __designer:mapid="4303" style="color: #808080">
                                    <asp:Label ID="lblTotalBLHijos" runat="server" style="font-weight: 700" 
                                        ForeColor="#000066"></asp:Label>
                                </td>
                                <td class="style6" __designer:mapid="4303" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style4" __designer:mapid="4347" style="color: #808080">
                                    &nbsp;</td>
                                <td __designer:mapid="4348" style="color: #808080;">
                                    Recep. BL Org.</td>
                                <td __designer:mapid="43ae" style="color: #808080;">
                                    <asp:Label ID="lblRecepBL" runat="server" style="font-weight: 700" 
                                        ForeColor="#000066"></asp:Label>
                                </td>
                                <td style="HEIGHT: 16px; width: 200px" __designer:mapid="43af">
                                    &nbsp;</td>
                                <td style="HEIGHT: 16px; width: 200px" __designer:mapid="43f3">
                                    &nbsp;</td>
                                <td style="HEIGHT: 16px; width: 200px" __designer:mapid="43f4">
                                    &nbsp;</td>
                                <td style="HEIGHT: 16px; width: 200px" __designer:mapid="4438">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4301">
                                <td __designer:mapid="4302" class="style5" style="color: #808080">
                                    Estado:</td>
                                <td class="style2" __designer:mapid="4303" style="color: #808080">
                                    <asp:Label ID="lblEstado" runat="server" style="font-weight: 700" 
                                        ForeColor="#000066"></asp:Label>
                                </td>
                                <td class="style6" __designer:mapid="4303" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style4" __designer:mapid="4347" style="color: #808080">
                                    &nbsp;</td>
                                <td __designer:mapid="4348" style="color: #808080;">
                                    Movimiento:</td>
                                <td __designer:mapid="43ae" style="color: #808080;">
                                    <asp:Label ID="lblMovimiento" runat="server" style="font-weight: 700" 
                                        ForeColor="#000066"></asp:Label>
                                </td>
                                <td style="HEIGHT: 16px; width: 200px" __designer:mapid="43af">
                                    &nbsp;</td>
                                <td style="HEIGHT: 16px; width: 200px" __designer:mapid="43f3">
                                    &nbsp;</td>
                                <td style="HEIGHT: 16px; width: 200px" __designer:mapid="43f4">
                                    &nbsp;</td>
                                <td style="HEIGHT: 16px; width: 200px" __designer:mapid="4438">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4301">
                                <td __designer:mapid="4302" class="style5" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style2" __designer:mapid="4303" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style6" __designer:mapid="4303" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style4" __designer:mapid="4347" style="color: #808080">
                                    &nbsp;</td>
                                <td __designer:mapid="4348" style="color: #808080;">
                                    &nbsp;</td>
                                <td __designer:mapid="43ae" style="color: #808080;">
                                    &nbsp;</td>
                                <td style="HEIGHT: 16px; width: 200px" __designer:mapid="43af">
                                    &nbsp;</td>
                                <td style="HEIGHT: 16px; width: 200px" __designer:mapid="43f3">
                                    &nbsp;</td>
                                <td style="HEIGHT: 16px; width: 200px" __designer:mapid="43f4">
                                    &nbsp;</td>
                                <td style="HEIGHT: 16px; width: 200px" __designer:mapid="4438">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4301">
                                <td __designer:mapid="4302" class="style7" colspan="10" 
                                    style="color: #808080;">
                                    <asp:Label ID="Label10" runat="server" style="font-weight: 700" 
                                        Text="BL Hijos" ForeColor="#000066"></asp:Label>
                                    </td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4301">
                                <td __designer:mapid="4302" class="style7" style="color: #808080">
                                    Nro BL HIjo:</td>
                                <td class="style8" __designer:mapid="4303" colspan="2" style="color: #808080">
                                    <asp:TextBox ID="txtNHijo" runat="server" MaxLength="20"></asp:TextBox>
                                    </td>
                                <td class="style10" __designer:mapid="4347" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style7" __designer:mapid="4348" style="color: #808080;">
                                    Agente Aduana:
                                    </td>
                                <td __designer:mapid="43ae" style="color: #808080;" class="style7">
                                    <asp:DropDownList runat="server" Height="24px" Width="290px" 
                                        ID="cboAgenteAduana">
                                    </asp:DropDownList>
                                    </td>
                                <td __designer:mapid="43af" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="43f3" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="43f4" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="4438" class="style13">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4301">
                                <td __designer:mapid="4302" class="style7" style="color: #808080">
                                    Consignatario:
                                    </td>
                                <td class="style14" __designer:mapid="4303" style="color: #808080">
                                    <asp:TextBox runat="server" Enabled="False" Width="66px" ID="txtCodConsig" 
                                        MaxLength="6"></asp:TextBox>
                                    </td>
                                <td class="style9" __designer:mapid="4303" style="color: #808080">
                                    <asp:TextBox runat="server" Enabled="False" Width="230px" ID="txtDesConsig" 
                                        MaxLength="80"></asp:TextBox>
                                </td>
                                <td class="style10" __designer:mapid="4347" style="color: #808080">
                                    <img border="0"      src="../../res/img/search.gif" onclick ="abrirVentanaCons();" 
                                style="height: 16px" __designer:mapid="1524"/></td>
                                <td class="style7" __designer:mapid="4348" style="color: #808080;">
                                    Peso:
                                    </td>
                                <td __designer:mapid="43ae" style="color: #808080;" class="style7">
                                    <asp:TextBox ID="txtPeso" runat="server" MaxLength="10"></asp:TextBox>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                        ControlToValidate="txtPeso" ErrorMessage="Debe ingresar número" 
                                        ValidationExpression="^(\d|-)?(\d|,)*\.?\d*$"></asp:RegularExpressionValidator>
                                    </td>
                                <td __designer:mapid="43af" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="43f3" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="43f4" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="4438" class="style13">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4301">
                                <td __designer:mapid="4302" class="style7" style="color: #808080">
                                    Observaciones:
                                    </td>
                                <td class="style8" __designer:mapid="4303" colspan="5" style="color: #808080">
                                    <asp:TextBox ID="txtObs" runat="server" Width="338px" Height="59px" 
                                        MaxLength="200"></asp:TextBox>
                                    </td>
                                <td __designer:mapid="43af" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="43f3" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="43f4" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="4438" class="style13">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4301">
                                <td __designer:mapid="4302" class="style7" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style14" __designer:mapid="4303" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style9" __designer:mapid="4303" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style10" __designer:mapid="4347" style="color: #808080">
                                    <asp:Label ID="lblViaje" runat="server"></asp:Label>
                                </td>
                                <td class="style7" __designer:mapid="4348" style="color: #808080;">
                                    <asp:Label ID="lblKBli" runat="server"></asp:Label>
                                </td>
                                <td __designer:mapid="43ae" style="color: #808080;" class="style7">
                                    &nbsp;</td>
                                <td __designer:mapid="43af" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="43f3" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="43f4" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="4438" class="style13">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4301">
                                <td __designer:mapid="4302" class="style7" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style14" __designer:mapid="4303" style="color: #808080">
                                    <dx:ASPxButton runat="server" ImagePosition="Left" 
                                        SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" HorizontalAlign="NotSet" 
                                        VerticalAlign="NotSet" Wrap="Default" Text="Agregar" CssPostfix="Aqua" 
                                        CssFilePath="~/App_Themes/Aqua/{0}/styles.css" ClientIDMode="AutoID" 
                                        ID="btnAgregar" Height="22px" Width="94px">
                                        <Image Align="NotSet">
                                        </Image>
                                        <CheckedStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </CheckedStyle>
                                        <PressedStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </PressedStyle>
                                        <HoverStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </HoverStyle>
                                        <FocusRectBorder BorderStyle="NotSet">
                                        </FocusRectBorder>
                                        <BackgroundImage Repeat="Repeat">
                                        </BackgroundImage>
                                        <Border BorderStyle="NotSet">
                                        </Border>
                                        <BorderLeft BorderStyle="NotSet">
                                        </BorderLeft>
                                        <BorderTop BorderStyle="NotSet">
                                        </BorderTop>
                                        <BorderRight BorderStyle="NotSet">
                                        </BorderRight>
                                        <BorderBottom BorderStyle="NotSet">
                                        </BorderBottom>
                                        <DisabledStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </DisabledStyle>
                                    </dx:ASPxButton>
                                    </td>
                                <td class="style9" __designer:mapid="4303" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style10" __designer:mapid="4347" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style7" __designer:mapid="4348" style="color: #808080;">
                                    &nbsp;</td>
                                <td __designer:mapid="43ae" style="color: #808080;" class="style7">
                                    &nbsp;</td>
                                <td __designer:mapid="43af" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="43f3" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="43f4" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="4438" class="style13">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4301">
                                <td __designer:mapid="4302" class="style7" colspan="10">
                                    <asp:GridView ID="dgDesglose" runat="server" AutoGenerateColumns="False" 
                                        CellPadding="4" ForeColor="#333333" GridLines="None" Width="975px">
                                        <AlternatingRowStyle BackColor="White" />
                                        <Columns> 

                                            <asp:BoundField DataField="KVJE" HeaderText="KVJE" Visible=false  />
                                            <asp:BoundField DataField="KBLE" HeaderText="KBLE"  Visible=false  />
                                            <asp:BoundField DataField="KBLD" HeaderText="KBLD"  Visible=false />
                                            <asp:BoundField DataField="NUME" HeaderText="Nro. Hijo" />
                                            <asp:BoundField DataField="CODEMBA" HeaderText="CODEMBA" Visible=false  />
                                            <asp:BoundField DataField="EMBA" HeaderText="Cliente" />
                                            <asp:BoundField DataField="CODAGAD" HeaderText="CODAGAD"  Visible=false />
                                            <asp:BoundField DataField="AGAD" HeaderText="Ag. Aduana" />
                                            <asp:BoundField DataField="PESO" HeaderText="Peso" />
                                            <asp:BoundField DataField="OBSE" HeaderText="Observaciones" />
                                            <asp:TemplateField HeaderText="Eliminar">
                                                <ItemTemplate>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                                    <asp:ImageButton ID="imgEliminar1" runat="server" 
                                                        CommandArgument='<%#Eval("NUME")%>' CommandName="Eliminar" Height="19px" 
                                                        ImageUrl="~/res/img/icono_eliminar.gif" Width="16px" />
                                       
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="Contenedores">
                                                <ItemTemplate>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                    <asp:ImageButton ID="ImagenEditar3" runat="server" 
                                                        CommandArgument='<%#Eval("NUME")%>' CommandName="Contenedores" Height="19px" 
                                                        ImageUrl="~/res/img/icono_editar.gif" Width="16px" />
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                        </Columns>
                                        <EditRowStyle BackColor="#2461BF" />
                                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                        <RowStyle BackColor="#EFF3FB" />
                                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                        <SortedAscendingCellStyle BackColor="#F5F7FB" />
                                        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                                        <SortedDescendingCellStyle BackColor="#E9EBEF" />
                                        <SortedDescendingHeaderStyle BackColor="#4870BE" />
                                    </asp:GridView>
                                    </td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4593">
                                <td __designer:mapid="4594" class="style5">
                                    &nbsp;</td>
                                <td class="style2" __designer:mapid="4595">
                                    &nbsp;</td>
                                <td class="style6" __designer:mapid="4595">
                                    &nbsp;</td>
                                <td class="style4" __designer:mapid="45fb">
                                    &nbsp;</td>
                                <td __designer:mapid="45fc">
                                    &nbsp;</td>
                                <td style="HEIGHT: 16px; width: 83px" __designer:mapid="4662">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="4663">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="46a7">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="46a8">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="46ec">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td __designer:mapid="4302" class="style7" colspan="10" 
                                    style="background-color: #BFDBFF">
                                    <asp:Label ID="Label11" runat="server" style="font-weight: 700" 
                                        Text="Contenedores por BL Hijo" ForeColor="#000066"></asp:Label>
                                    </td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4593">
                                <td __designer:mapid="4594" class="style5" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style2" __designer:mapid="4595" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style6" __designer:mapid="4595" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style4" __designer:mapid="45fb" style="color: #808080">
                                    &nbsp;</td>
                                <td __designer:mapid="45fc" style="color: #808080">
                                    &nbsp;</td>
                                <td style="HEIGHT: 16px; width: 83px" __designer:mapid="4662">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="4663">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="46a7">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="46a8">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="46ec">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td __designer:mapid="4302" class="style7" style="color: #808080">
                                    Nro BL HIjo:</td>
                                <td class="style8" __designer:mapid="4303" colspan="2" style="color: #808080">
                                    <asp:TextBox ID="txtHijo" runat="server" MaxLength="20" ReadOnly="True"></asp:TextBox>
                                    </td>
                                <td class="style10" __designer:mapid="4347" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style7" __designer:mapid="4348" style="color: #808080;">
                                    &nbsp;</td>
                                <td __designer:mapid="43ae" style="style11" class="style7">
                                    &nbsp;</td>
                                <td __designer:mapid="43af" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="43f3" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="43f4" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="4438" class="style13">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td __designer:mapid="4302" class="style7" style="color: #808080">
                                    Contenedor:</td>
                                <td class="style8" __designer:mapid="4303" colspan="2" style="color: #808080">
                                    <asp:TextBox ID="txtPref" runat="server" MaxLength="4" Width="70px"></asp:TextBox>
                                    <asp:TextBox ID="txtNume" runat="server" MaxLength="7"></asp:TextBox>
                                    </td>
                                <td class="style10" __designer:mapid="4347" style="color: #808080">
                                    Condición:</td>
                                <td class="style7" __designer:mapid="4348" style="color: #808080;">
                                    <asp:DropDownList runat="server" Height="24px" ID="cboConCondicion">
                                        <asp:ListItem Value="HH">HH</asp:ListItem>
                                        <asp:ListItem>PH</asp:ListItem>
                                        <asp:ListItem>PP</asp:ListItem>
                                    </asp:DropDownList>
                                    </td>
                                <td __designer:mapid="43ae" style="style11" class="style7">
                                    &nbsp;</td>
                                <td __designer:mapid="43af" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="43f3" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="43f4" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="4438" class="style13">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td __designer:mapid="4302" class="style7" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style14" __designer:mapid="4303" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style9" __designer:mapid="4303" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style10" __designer:mapid="4347" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style7" __designer:mapid="4348" style="color: #808080;">
                                    &nbsp;</td>
                                <td __designer:mapid="43ae" style="style11" class="style7">
                                    &nbsp;</td>
                                <td __designer:mapid="43af" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="43f3" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="43f4" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="4438" class="style13">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td __designer:mapid="4302" class="style7" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style14" __designer:mapid="4303" style="color: #808080">
                                    <dx:ASPxButton runat="server" ImagePosition="Left" 
                                        SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" HorizontalAlign="NotSet" 
                                        VerticalAlign="NotSet" Wrap="Default" Text="Agregar" CssPostfix="Aqua" 
                                        CssFilePath="~/App_Themes/Aqua/{0}/styles.css" ClientIDMode="AutoID" 
                                        ID="btnAgregar0" Height="22px" Width="94px">
                                        <Image Align="NotSet">
                                        </Image>
                                        <CheckedStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </CheckedStyle>
                                        <PressedStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </PressedStyle>
                                        <HoverStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </HoverStyle>
                                        <FocusRectBorder BorderStyle="NotSet">
                                        </FocusRectBorder>
                                        <BackgroundImage Repeat="Repeat">
                                        </BackgroundImage>
                                        <Border BorderStyle="NotSet">
                                        </Border>
                                        <BorderLeft BorderStyle="NotSet">
                                        </BorderLeft>
                                        <BorderTop BorderStyle="NotSet">
                                        </BorderTop>
                                        <BorderRight BorderStyle="NotSet">
                                        </BorderRight>
                                        <BorderBottom BorderStyle="NotSet">
                                        </BorderBottom>
                                        <DisabledStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </DisabledStyle>
                                    </dx:ASPxButton>
                                    </td>
                                <td class="style9" __designer:mapid="4303" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style10" __designer:mapid="4347" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style7" __designer:mapid="4348" style="color: #808080;">
                                    &nbsp;</td>
                                <td __designer:mapid="43ae" style="style11" class="style7">
                                    &nbsp;</td>
                                <td __designer:mapid="43af" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="43f3" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="43f4" class="style13">
                                    &nbsp;</td>
                                <td __designer:mapid="4438" class="style13">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td __designer:mapid="4302" class="style7" colspan="10">
                                    <asp:GridView ID="dgDesgloseDeta" runat="server" AutoGenerateColumns="False" 
                                        CellPadding="4" ForeColor="#333333" GridLines="None" Width="975px">
                                        <AlternatingRowStyle BackColor="White" />
                                        <Columns>
                                             <asp:BoundField DataField="KVJE" HeaderText="KVJE" Visible=false  />
                                            <asp:BoundField DataField="KBLE" HeaderText="KBLE"  Visible=false  />
                                            <asp:BoundField DataField="KBLD" HeaderText="KBLD"  Visible=false />
                                            <asp:BoundField DataField="PREF" HeaderText="PREF" Visible=false  />
                                            <asp:BoundField DataField="NCTR" HeaderText="NCTR" Visible=false  />
                                            <asp:BoundField DataField="NUMCTR" HeaderText="Nro. Contenedor" />
                                            <asp:BoundField DataField="COND" HeaderText="Condición"    /> 
                                           <%-- <asp:TemplateField HeaderText="Editar">
                                                <ItemTemplate>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                    <asp:ImageButton ID="ImagenEditar4" runat="server" 
                                                        CommandArgument='<%#Eval("NUMCTR")%>' CommandName="Editar" Height="19px" 
                                                        ImageUrl="~/res/img/icono_editar.gif" Width="16px" />
                                                </ItemTemplate>
                                            </asp:TemplateField>--%>
                                            <asp:TemplateField HeaderText="Eliminar">
                                                <ItemTemplate>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                                    <asp:ImageButton ID="imgEliminar2" runat="server" 
                                                        CommandArgument='<%#Eval("NUMCTR")%>' CommandName="Eliminar" Height="19px" 
                                                        ImageUrl="~/res/img/icono_eliminar.gif" Width="16px" />
                                                 </ItemTemplate>
                                            </asp:TemplateField>
                                        </Columns>
                                        <EditRowStyle BackColor="#2461BF" />
                                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                        <RowStyle BackColor="#EFF3FB" />
                                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                        <SortedAscendingCellStyle BackColor="#F5F7FB" />
                                        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                                        <SortedDescendingCellStyle BackColor="#E9EBEF" />
                                        <SortedDescendingHeaderStyle BackColor="#4870BE" />
                                    </asp:GridView>
                                    </td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4593">
                                <td __designer:mapid="4594" class="style5">
                                    &nbsp;</td>
                                <td class="style2" __designer:mapid="4595">
                                    &nbsp;</td>
                                <td class="style6" __designer:mapid="4595">
                                    &nbsp;</td>
                                <td class="style4" __designer:mapid="45fb">
                                    &nbsp;</td>
                                <td __designer:mapid="45fc">
                                    &nbsp;</td>
                                <td style="HEIGHT: 16px; width: 83px" __designer:mapid="4662">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="4663">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="46a7">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="46a8">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="46ec">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4593">
                                <td __designer:mapid="4594" class="style5">
                                    &nbsp;</td>
                                <td class="style2" __designer:mapid="4595">
                                    <dx:ASPxButton runat="server" ImagePosition="Left" 
                                        SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" HorizontalAlign="NotSet" 
                                        VerticalAlign="NotSet" Wrap="Default" Text="Grabar" CssPostfix="Aqua" ClientIDMode="AutoID" 
                                        ID="btnNuevo">
                                        <Image Align="NotSet">
                                        </Image>
                                        <CheckedStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </CheckedStyle>
                                        <PressedStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </PressedStyle>
                                        <HoverStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </HoverStyle>
                                        <FocusRectBorder BorderStyle="NotSet">
                                        </FocusRectBorder>
                                        <BackgroundImage Repeat="Repeat">
                                        </BackgroundImage>
                                        <Border BorderStyle="NotSet">
                                        </Border>
                                        <BorderLeft BorderStyle="NotSet">
                                        </BorderLeft>
                                        <BorderTop BorderStyle="NotSet">
                                        </BorderTop>
                                        <BorderRight BorderStyle="NotSet">
                                        </BorderRight>
                                        <BorderBottom BorderStyle="NotSet">
                                        </BorderBottom>
                                        <DisabledStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </DisabledStyle>
                                    </dx:ASPxButton>
                                </td>
                                <td class="style6" __designer:mapid="4595">
                                    &nbsp;</td>
                                <td class="style4" __designer:mapid="45fb">
                                    &nbsp;</td>
                                <td __designer:mapid="45fc">
                                    <dx:ASPxButton runat="server" ImagePosition="Left" 
                                        SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" HorizontalAlign="NotSet" 
                                        VerticalAlign="NotSet" Wrap="Default" Text="Salir" CssPostfix="Aqua" 
                                        CssFilePath="~/App_Themes/Aqua/{0}/styles.css" ClientIDMode="AutoID" 
                                        ID="btnSalir" Width="85px">
                                        <Image Align="NotSet">
                                        </Image>
                                        <CheckedStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </CheckedStyle>
                                        <PressedStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </PressedStyle>
                                        <HoverStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </HoverStyle>
                                        <FocusRectBorder BorderStyle="NotSet">
                                        </FocusRectBorder>
                                        <BackgroundImage Repeat="Repeat">
                                        </BackgroundImage>
                                        <Border BorderStyle="NotSet">
                                        </Border>
                                        <BorderLeft BorderStyle="NotSet">
                                        </BorderLeft>
                                        <BorderTop BorderStyle="NotSet">
                                        </BorderTop>
                                        <BorderRight BorderStyle="NotSet">
                                        </BorderRight>
                                        <BorderBottom BorderStyle="NotSet">
                                        </BorderBottom>
                                        <DisabledStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </DisabledStyle>
                                    </dx:ASPxButton>
                                </td>
                                <td style="HEIGHT: 16px; width: 83px" __designer:mapid="4662">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="4663">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="46a7">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="46a8">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="46ec">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="487e">
                                <td colspan="10" __designer:mapid="487f" style="background-color: #BFDBFF">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4b1b">
                                <td __designer:mapid="4b1c" class="style5">
                                    &nbsp;</td>
                                <td class="style2" __designer:mapid="4b1d">
                                    &nbsp;</td>
                                <td class="style6" __designer:mapid="4b1d">
                                    &nbsp;</td>
                                <td class="style4" __designer:mapid="4b1e">
                                    &nbsp;</td>
                                <td __designer:mapid="4b1f">
                                    &nbsp;</td>
                                <td __designer:mapid="4b20">
                                    &nbsp;</td>
                                <td __designer:mapid="4b21">
                                    &nbsp;</td>
                                <td __designer:mapid="4b22">
                                    &nbsp;</td>
                                <td __designer:mapid="4b23">
                                    &nbsp;</td>
                                <td __designer:mapid="4b24">
                                    &nbsp;</td>
                            </tr>
                        </table>


</p>
</asp:Content>
